<!doctype html>
<html lang="en-us">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width"/>
    <title>Flexbox: Task 1</title>

    <style>
        .parent {
            border: 2px solid #77a6b6;
            border-radius: 5px;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 500px;

        }

        .child {
            color: white;
            background-color: #4d7298;
        }
    </style>
</head>

<body>
<div class="parent">
    <div class="child">Center me.</div>
</div>
</body>
</html>